package com.cfwx.designpatterns.proxy.cglibproxy;



/**
 * Cglib代理测试类
 * @author Administrator
 *
 */
public class TestCglib {
	
	public static void main(String[] args) {
		BookFacadeCglibProxy cglib=new BookFacadeCglibProxy();
		BookFacadeCglibImpl1 bookCglib=(BookFacadeCglibImpl1)cglib.getInstance(new BookFacadeCglibImpl1());
		bookCglib.addBook();
	}
}
